package com.lolineet.gateway.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * TestController
 *
 * @author YUKI.N
 * @version 1.0
 * @description
 * @date 2025/3/10 17:04
 */
@Tag(name = "cece")
@RequestMapping("/test")
@RestController
public class TestController {

    @Value("${test}")
    public String testStr = null;

    @Operation(summary = "qqqq")
    @GetMapping("/test")
    public String test(){
        return testStr;
    }
}
